<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>

<div id="main" class="col-mb-12" role="main">
    <div class="post_wrapper">

        <header class="header">
            <h1 class="post-title" itemprop="name headline"><?php $this->title() ?></h1>
            <ul class="post-meta">
                <li><i class="iconfont icon-shijian"></i> 时间: <time datetime="<?php $this->date('c'); ?>" itemprop="datePublished"><?php $this->date(); ?></time></li>
                <li><i class="iconfont icon-kinds"></i> 分类: <?php $this->category(','); ?></li>
                <li><i class="iconfont icon-yuedu"></i> 阅读: <?php postViews($this);?></li>
            </ul>
        </header>

        <div class="crumbs_patch">
            <a href="<?php $this->options->siteUrl(); ?>"><i class="iconfont icon-shouyex"></i><?php _e('首页'); ?></a> / <?php _e('正文'); ?>
        </div>

        <article class="post" itemscope itemtype="http://schema.org/BlogPosting">    
            <div class="post-content" itemprop="articleBody"><?php $this->content(); ?></div>
        </article>

        <p class="tags" itemprop="keywords"><?php $this->tags('  ', true, 'none'); ?></p>
        
        <?php $this->need('comments.php'); ?>

        <ul class="post-near">
            <li>上一篇: <?php $this->thePrev('%s','没有了'); ?></li>
            <li>下一篇: <?php $this->theNext('%s','没有了'); ?></li>
        </ul>
    </div><!-- end .post_wrapper-->

    <?php $this->need('sidebar.php'); ?>
</div><!-- end #main-->

<?php $this->need('footer.php'); ?>
